package com.wondersgroup.hs.mobile.report.designer;
import com.fr.base.FRContext;
import com.fr.design.fun.impl.AbstractMenuHandler;
import com.wondersgroup.hs.mobile.report.support.exception.StatusAndMessageError;

import java.util.logging.Level;

/**
 * Created by zarra on 2016/12/29.
 */
public class SubmitConfigMenuHandler extends AbstractMenuHandler {

    static {
        try {
            ModifyService.doModifyService();
        }catch (Exception e){
            e.printStackTrace();
            throw new StatusAndMessageError(-9,e);
        }
    }

    public SubmitConfigMenuHandler(){

        FRContext.getLogger().log(Level.INFO, "begin SubmitConfigMenuHandler");
    }
    @Override
    public int insertPosition(int total) {
        return -1;
    }

    @Override
    public boolean insertSeparatorBefore() {
        return false;
    }

    @Override
    public boolean insertSeparatorAfter() {
        return false;
    }

    @Override
    public String category() {
        return TEMPLATE;
    }
}
